package view;

import client.Client;
import java.io.File;
import java.util.Map;

public interface MainWindowInterface {

    /**
     * Assignate a client for the view.
     *
     * @param client
     */
    public void setClient(Client client);

    /**
     * Modify the values on the tree of the view.
     *
     * @param mapFiles Map<File, Map> of folder and subfolders.
     */
    public void setTree(Map<File, Map> mapFiles);

    /**
     * Add a transferbar on the mainwindow.
     */
    public void addTransferBar();

    /**
     * Modify the transferbar displayed values.
     *
     * @param barNumber The bar to modify.
     * @param label The label of the var. String.
     * @param pBValue The progress.
     * @param finished The finished status. 0 not finished 1 finished.
     */
    public void setTransferBarInfo(int barNumber, String label, int pBValue, int finished);
}
